package jp.sourceforge.akjrcp.flvtools.dropsomething;


import jp.sourceforge.akjrcp.flvtools.basic.Perspective;
import jp.sourceforge.akjrcp.flvtools.explorer.ExplorerPerspective;
import jp.sourceforge.akjrcp.flvtools.search.SearchPerspective;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class DropsomethingPerspective implements IPerspectiveFactory {
	public static final String ID = DropsomethingPerspective.class.getName();
	public void createInitialLayout(IPageLayout layout) {
		String editorArea = layout.getEditorArea();
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		
		layout.addStandaloneView(DropsomethingView.ID,  false, IPageLayout.LEFT, 1.0f, editorArea);
		layout.addPerspectiveShortcut(SearchPerspective.ID);
		layout.addPerspectiveShortcut(Perspective.ID);
		layout.addPerspectiveShortcut(ExplorerPerspective.ID);
	}

}
